package com.matt.domain.courseV2;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 成长故事
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "tc_growing_story_user")
public class GrowingStoryUser extends Domain implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column(columnDefinition = "varchar(255)   COMMENT '成长故事ID' ")
    private String  growingStoryId;

    @Column(columnDefinition = "varchar(32)   COMMENT '宝宝ID' ")
    private String childrenId;

    @Column(columnDefinition = "varchar(32)   COMMENT '班级ID' ")
    private String classesId;

    @Column( columnDefinition = "text  COMMENT '内容'")
    private String content;
}